package swing;

import java.awt.BorderLayout;
import java.awt.GridLayout;
import java.awt.TextField;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Vector;

import javax.management.RuntimeErrorException;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import javax.swing.plaf.basic.BasicBorders.RadioButtonBorder;

import smarthouse.Smarthouse;

import annotations.Command;
import annotations.Param;

import commands.HeaterOffCommand;
import commands.HeaterTemperatureCommand;
import commands.LightCommand;
import devices.AbstractDevice;

public class SwingGui {
	
	Vector<AbstractDevice> devices = new Vector<AbstractDevice>();
	
	
	public SwingGui(){
		devices = Smarthouse.getInstance().getDevices();
		SmartHouseFrame shf = new SmartHouseFrame(devices);
	}
	
	
	public static void main(String[] args) {
		SwingGui sgg = new SwingGui();
	}

}
